//
//  RKProvider.swift
//  RKTemplate
//
//  Created by zhaoke on 2023/7/24.
//

import Foundation
import UIKit

class RKProvider {
    var window: UIWindow?
    static let shareProvider = RKProvider()
    //
    func getRootController() {
        let keyWindow = window ?? RK_keyWindow
        if !UserDefaults.standard.bool(forKey: HJFirstLaunch) {
            keyWindow?.rootViewController = WelcomeVC()
        } else {
            keyWindow?.rootViewController = RKTabBarCtrl()
        }
    }
}
